/* 五子棋游戏样式 */
#root {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
}

.App {
  width: 100%;
  min-height: 100vh;
}

/* 棋盘网格样式 */
.grid-cols-15 {
  grid-template-columns: repeat(15, minmax(0, 1fr));
}

/* 响应式设计 */
@media (max-width: 768px) {
  .grid-cols-15 {
    gap: 0;
  }
}

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 焦点样式 */
button:focus-visible {
  outline: 2px solid #0066FF;
  outline-offset: 2px;
}

/* 触摸优化 */
@media (hover: none) and (pointer: coarse) {
  button {
    min-height: 44px;
  }
}